﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Db4objects.Db4o;
using Sheeter.Library.Model;
using System.IO;

namespace Sheeter.Tools
{
    public partial class FrmDbEditor : Form
    {
        public FrmDbEditor()
        {
            InitializeComponent();
        }

        private void btnAbrir_Click(object sender, EventArgs e)
        {
            //string arquivo = String.Empty;
            //if (ofd.ShowDialog() == DialogResult.OK)
            //{
            //    arquivo = ofd.FileName;
                
            //    using (IObjectContainer db = Db4oEmbedded.OpenFile(arquivo))
            //    {
            //        var lst = db.Query<AntecedenteInfo>();
            //        gridControl1.DataSource = lst;
            //    }
            //}
        }
    }
}
